package com.dongdongshop.vo;

import com.dongdongshop.pojo.TbSpecificationOption;

import java.io.Serializable;
import java.util.List;

public class SpecVO implements Serializable {
    private Long id;

    private String specName;

    private String text;

    private List<TbSpecificationOption> optionList;

    public SpecVO() {
    }

    public SpecVO(Long id, String specName, List<TbSpecificationOption> optionList) {
        this.id = id;
        this.specName = specName;
        this.optionList = optionList;
    }

    public SpecVO(Long id, String specName, String text, List<TbSpecificationOption> optionList) {
        this.id = id;
        this.specName = specName;
        this.text = text;
        this.optionList = optionList;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public List<TbSpecificationOption> getOptionList() {
        return optionList;
    }

    public void setOptionList(List<TbSpecificationOption> optionList) {
        this.optionList = optionList;
    }

    @Override
    public String toString() {
        return "SpecVO{" +
                "id=" + id +
                ", specName='" + specName + '\'' +
                ", text='" + text + '\'' +
                ", optionList=" + optionList +
                '}';
    }

    ;
}


